﻿// Apache-2.0 License
// Copyright (c) 2021-2022 SuperJeff
// 微信:15906588664  QQ:1024489

using Admin.NET.Core;
using Admin.NET.Core.Service;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.Net.InformationPlatform.Service.SRM.Dto;
public class SrmMouldInput : BasePageInput
{
    /// <summary>
    /// 开始日期
    /// </summary>
    public DateTime? StartDate { get; set; }
    /// <summary>
    /// 结束日期
    /// </summary>
    public DateTime? EndDate { get; set; }
    /// <summary>
    /// 品号
    /// </summary>
    public string SRMPH { get; set; } = string.Empty;
    /// <summary>
    /// 品名        
    /// </summary>
    public string SRMPM { get; set; } = string.Empty;
    /// <summary>
    /// 模具编号       
    /// </summary>
    public string SRMMJBH { get; set; } = string.Empty;
    /// <summary>
    /// 状态       
    /// </summary>
    public int SRMZT { get; set; }

}
public class MouldbInput : BasePageInput
{
    /// <summary>
    /// 名称
    /// </summary>
    [Required(ErrorMessage = "模具ID不能为空")]
    public string SRMMJID { get; set; }
}
/// <summary>
/// 模具档案删除
/// </summary>
public class DeleteMould
{
    /// <summary>
    /// 模具档案ID
    /// </summary>
    public string SRMMJID { get; set; }

}
/// <summary>
/// 提交模具档案状态
/// </summary>
public class UpdateMouldZT
{
    /// <summary>
    /// 模具档案ID
    /// </summary>
    public string SRMMJID { get; set; }
    /// <summary>
    /// 需求状态 归档中 1外借中 2作废
    /// </summary>
    public int SRMZT { get; set; }
}
/// <summary>
/// 提交模具外借详情状态
/// </summary>
public class UpdateMouldListZT
{
    /// <summary>
    /// 模具外借详情ID
    /// </summary>
    public string SRMMJLID { get; set; }
    /// <summary>
    /// 状态0外借中1已归还2需归还3待确认归还
    /// </summary>
    public int SRMZT { get; set; }
}
/// <summary>
/// 提交模具外借申诉状态
/// </summary>
public class UpdateMouldListSSZT
{
    /// <summary>
    /// 模具外借详情ID
    /// </summary>
    public string SRMMJLID { get; set; }
    /// <summary>
    /// 0无申诉1申诉中2申诉解决
    /// </summary>
    public int SRMSSZT { get; set; }
    /// <summary>
    /// 模具外借详情申诉原因
    /// </summary>
    public string SRMSS { get; set; }
}

public class SrmMouldListInput : BasePageInput
{
    /// <summary>
    /// 开始日期
    /// </summary>
    public DateTime? StartDate { get; set; }
    /// <summary>
    /// 结束日期
    /// </summary>
    public DateTime? EndDate { get; set; }
    /// <summary>

    /// <summary>
    /// 模具编号       
    /// </summary>
    public string SRMMJBH { get; set; } = string.Empty;
    /// <summary>
    /// 供应商ID       
    /// </summary>
    public string SRMGYSID { get; set; }
    /// <summary>
    /// 品号
    /// </summary>
    public string SRMPH { get; set; } = string.Empty;
    /// <summary>
    /// 品名        
    /// </summary>
    public string SRMPM { get; set; } = string.Empty;

}

